/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tsb.reproductor;

import java.io.File;
//import javazoom.jlgui.basicplayer.BasicPlayer;

/**
 *
 * @author Nico
 */
public class Reproductor
{
   // private BasicPlayer basicPlayer;
    //private double bytesLength;

    public Reproductor()
    {
//        basicPlayer = new BasicPlayer();
      //  basicPlayer.addBasicPlayerListener((BasicPlayerListener) this);
    }

    public void play()
    {
        try
        {
//             basicPlayer.play();
        }
        catch (Exception e)
        {
                // TODO Auto-generated catch block
             e.printStackTrace();
        }
    }
    public void pause()
    {
        try
        {
//            basicPlayer.pause();
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }

    public void stop()
    {
        try
        {
//            basicPlayer.stop();
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }

    public void loadFile(String ruta) throws Exception
    {
//        basicPlayer.open(new File(ruta));
    }
}
